home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / vmake / readme.vmake3-0 < prev    next >
Encoding:
Text File  |  1994-02-12  |  1.5 KB  |  29 lines

  1. Version 3.0 of VMake implements an interactive mode for Rexx commands.
  2.  
  3. There is a new command, REXXI, that can be called with a parameter value
  4. of either "ON" or "OFF".  Any other parameter will cause VMake to issue
  5. a requester that uses a new TEXT slot (position 23) complaining about an
  6. invalid Rexx Interactive mode:
  7.  
  8. TEXT "23" "Invalid REXX Interactive mode: "
  9.  
  10. In the default state ("OFF"), VMake functions as it always has.  When a 
  11. command is invoked from REXX, if it tries to invoke any kind of requester
  12. the command will abort and return a non zero code to via Rexx.  This is
  13. intended to allow background operation from REXX.
  14.  
  15. If the Rexx state is "ON", requesters are allowed, and no return code is
  16. set.  This mode is intended to allow you to enhance the commands available
  17. with VMake, eg to write scripts to be invoked by buttons or menus.
  18.  
  19. There is also a new system symbol, _REXXINTER_ which will return the last
  20. value set by a valid REXXI command to VMake.  It starts out set to OFF.
  21. You can check this symbol at the start of a Rexx script by using the LOG
  22. command and then issue another REXXI command at the end of your script to
  23. restore the original setting.  Directly setting _REXXINTER_ will not change
  24. the Rexx processing mode, you must use the REXXI command.
  25.  
  26. (Note to JAT: I did it that way because directly setting the symbol would
  27. also set the dirty flag, which is inappropriate, and it's easier to check
  28. for valid values in a command than in the general SET command.)
  29.